package com.qy139.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
@Api("角色实体类")
@Data
@EqualsAndHashCode(callSuper = false)
public class TabRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色编码
     */
    @ApiModelProperty("角色编码")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty("角色名称")
    private String rname;


}
